how to create python application